
extern "C" __declspec(dllexport) bool Driver_beginScene(IVideoDriver *driver, bool backBuffer, bool zBuffer, 
	unsigned int a, unsigned int r, unsigned int g, unsigned int b)
{
	return driver->beginScene(backBuffer, zBuffer, SColor(a, r, g, b));
}

extern "C" __declspec(dllexport) bool Driver_endScene(IVideoDriver *driver)
{
	return driver->endScene();
}

extern "C" __declspec(dllexport) ITexture* Driver_getTexture(IVideoDriver *driver, char* path)
{
	return driver->getTexture(path);
}

extern "C" __declspec(dllexport) int Driver_getFPS(IVideoDriver *driver)
{
	return driver->getFPS();
}

extern "C" __declspec(dllexport) const wchar_t* Driver_getName(IVideoDriver *driver)
{
	return driver->getName();
}
